<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>供应商列表</title>

</head>
<body>
<div>
	<div style="margin: 10px">
			<select class="easyui-combobox" label="类型" style="width: 15%;"
				id="busType" data-options="panelHeight: 'auto'">
				<option value="供应商">供应商</option>
				
			</select> 
		 	<input id="busName" style="width: 20%;" class="easyui-textbox" label="名称"> 			
			<input id="busAddress" style="width: 20%;" class="easyui-textbox" label="地址"> 					
			<a href="#" class="easyui-linkbutton" style="width: 8%;"
				 data-options="onClick:businessWhere"iconCls="icon-search">查询</a> 			
	</div>    
    	 <div style="margin-left: 5px;">
			<table class="easyui-datagrid" style="width: 99%;height:487px;" id="business_list_tabs"		
				data-options="url:'get_BusinessAll',fitColumns:true,pagination:true,rownumbers: true,singleSelect:true">
				<thead>
					<tr>
						<th align="center" style="width:25%" data-options="field:'busName'">名称</th>
						<th align="center" style="width:24%" data-options="field:'busAddress'">地址</th>
						<th align="center" style="width:18%" data-options="field:'busPhone'">固定电话</th>
						<th align="center" style="width:15%" data-options="field:'busType'">类型</th>
						<th align="center" style="width:15%" data-options="field:'xx',formatter:BusButtonArea">操作</th>
					</tr>
				</thead>
			</table>
		</div> 
		<div id="business_select_people" class="easyui-window" title="查看详情"
		data-options="collapsible:false,minimizable:false,maximizable:false,
		modal:true,iconCls:'icon-add',closed:true"
		style="width: 810px; height: 400px; padding: 5px;">
		<div  class="easyui-layout" data-options="fit:true">			
			<div data-options="region:'center'" style="padding: 1px;">			
				<div class="easyui-panel" title="外包商信息" border="false" fit="true" >
						<table width="100%" border="0" style="padding: 6px;">
							<tr>
								<td width="50%"><input class="easyui-textbox" type="text" readonly="readonly" id="bus_name"
									label="外包商名称" style="width: 70%"/>
								</td>
								<td width="50%"><input class="easyui-textbox" type="text" readonly="readonly"
									label="固定电话" style="width: 70%" id="bus_phone"/>
								</td>
							</tr>
							<tr>
								<td width="50%"><input style="width: 70%;" readonly="readonly"
									class="easyui-textbox" label="类型" id="bus_type">
								</td>
								<td width="50%"><input class="easyui-textbox" label="地址" readonly="readonly"
									name="business.busAddress" style="width: 70%" id="bus_address"/>
								</td>
							</tr>
						</table>
						<div class="easyui-panel" title="联系人信息" border="false" fit="true"
				style="margin: 5px">		
				<table style="width:100%;" id="business_people_tabs" class="easyui-datagrid" data-options="
					fitColumns: true, nowrap: false,rownumbers: true,border: false,rownumbers: true">																	
						<thead>
							<tr>							
								<th align="center" style="width:30%;" data-options="field:'bpeoName'">姓名</th>
								<th align="center" style="width:35%;" data-options="field:'bpeoPhone'">电话</th>
								<th align="center" style="width:35%;" data-options="field:'bpeoEmil'">邮箱</th>	
							</tr>
						</thead>	
					</table>
				</div>
				</div>
			<div data-options="region:'south',border:false"
				style="text-align: right; padding: 5px 0 0;">
			</div>
		</div>
		</div>
		
		<div id="business_edite_people" class="easyui-window" title="编辑外包商"
			data-options="collapsible:false,minimizable:false,maximizable:false,modal:true,iconCls:'icon-add',closed:true,"
			style="width: 1000px; height: 420px; padding: 5px;">
			<div  class="easyui-layout"
			data-options="fit:true">
			<div data-options="region:'center',href:'to_EditeBusiness'"
				style="padding: 1px;">			
				</div>
			<div data-options="region:'south',border:false"
				style="text-align: right; padding: 5px 0 0;">
			</div>
		</div>
		</div>
		
	</div>
</body>
</html>